package com.project_doctor.service;


import com.project_doctor.pojo.Dto.PersonalProfileDto;
import com.project_doctor.pojo.PersonalProfile;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.http.ResponseEntity;

import java.util.List;

/**
* @author 龙龙与贝儿
* @description 针对表【t_personal_profile】的数据库操作Service
* @createDate 2025-05-29 19:33:32
*/
public interface PersonalProfileService extends IService<PersonalProfile> {
    ResponseEntity doLogin(PersonalProfileDto personalProfileDto);

    PersonalProfile findUserByMobile(String mobile);
    boolean isUsernameExist(String username);
    boolean isMobileExist(String mobile);
    PersonalProfile register(PersonalProfile user);

    Integer editUser(PersonalProfile user);


    PersonalProfile findUserById(Long doctorId);

    Integer modifyPassword(Long doctorId, String password);
}
